home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 026-050 / scopedisk40 / m2du371 / du.tutor < prev    next >
Text File  |  1995-03-18  |  4KB  |  122 lines

  1. # THIS FILE IS A Du.hist file and also a TUTORIAL. - Greg Browne 11/16/88
  2. #
  3. # Du.Hist file may have comments (start with # sign and space next)
  4. #
  5. #  STARTUP IS MUCH FASTER WITHOUT COMMENTS
  6. #             ****        *******
  7. #
  8. # The space after the # sign DESIGNATES COMMENTS.
  9. #
  10. # LINES not started with a # sign are "R" gadget history items
  11. #
  12. # THE "R" history is now 20 items long.
  13. #
  14. # *** THERE ARE IMBEDDED STARTUP COMMANDS AVAILABLE NOW ***
  15. # =========================================================
  16. # ANY file can be read as a Du.hist file.  Put the name of the file in the
  17. # "R" gadget & click the RIGHT mousebutton on the "R" beside the gadget.
  18. # The file will be read like Du.hist. Only as many "R" items as are in the
  19. # new file will be replaced. Any beyond that will be unchanged.
  20. #
  21. # ALSO putting a complete startup command (including the #) in the
  22. # "R" gadget and clicking RIGHT mousebutton on "R" will read that
  23. # command (easy change of Showname, Editor, Devices, etc).
  24. # =========================================================
  25. #
  26. # IF the character DIRECTLY after the # is one of the following, the
  27. #  balance of the line will be considered a possible command line.
  28. #
  29. # COMMANDS ARE:  S E A O R 0..8 I D F U B T N (case insensitive)
  30. #
  31. #SSuperShow
  32. #   Set external show program name - ENTIRE BALANCE OF LINE IS USED
  33. #   if no name given or no #S included, Du's internal show is used
  34. #
  35. #e Emacs
  36. #   Editor program name - ENTIRE BALANCE OF LINE IS USED
  37. #   if no name given or no #E included, Du chooses "dme" as editor.
  38. #   Leading spaces on command names are stripped off
  39. #
  40. #Edme
  41. #   However I like "dme" so I'll put it back in place for now.
  42. #   SEE, THE LATEST ITEM ALWAYS TAKES PRECEDENCE.
  43. #
  44. #Aram:
  45. #   Access on startup - ENTIRE BALANCE OF LINE IS USED
  46. #   This can be any valid path - just used ram: for less mess.
  47. #   if no name given or no #A included, Du chooses ram: from WB
  48. #   or the current directory from CLI. STARTUP ONLY!!
  49. #
  50. #ofile  VALID LINE - Changes Outname choice 3 from SER: to file
  51. #   This replaces the "SER:" output device on the PRT:/PAR:/SER: gadget.
  52. #   only the 4 characters following "O" are used.
  53. #
  54. #Rrun
  55. #   ENTIRE BALANCE OF LINE IS USED.
  56. #   This replaces "run >nil: <nil:" for the DO gadgets last pass.
  57. #   NOTE THAT with 1.3 the default above REALLY discards as it is supposed
  58. #   to.  Somehow it still put output to CON: window before. If you want
  59. #   CON window output to be seen, use run <NIL: or run.
  60. #
  61. #  DEVICE NAME Replacement [0..8]
  62. #   This will replace the device gadgets above the filewindow.
  63. #   Left to right  [df0 = 0  ram = 8]
  64. #   Again only 4 characters are used.
  65. #   shorter devices MAY be used (such as c: or l:)
  66. #2  ff1: THIS LINE IS VALID (leading spaces ALWAYS removed first)
  67. #6rad:   SO IS THIS
  68. #
  69. #   DUPLICATE the I in the command tail - each character after
  70. #   the "I" means increase filespace allocated by 50 files. Doesn't
  71. #   care what the trailing characters are. (WORKS WITH command tail)
  72. #   Following line will increase by 200. STARTUP ONLY!!
  73. #IIII
  74. #
  75. #   REVERSE of "I" above - Decrease by 50 for each. STARTUP ONLY!!
  76. #DD
  77. #
  78. # Miscellaneous commands - tail of line ignored on all these.
  79. #F              (* FastDir in place *)
  80. #U              (* FastDir UN-inplace *)
  81. #B              (* Open window at bottom if interlaced screen *)
  82. #T              (* FastDir is transient (turns self off each time) *)
  83. #N              (* FastDir NOT transient (you turn on/off *)
  84. #
  85. # OTHER SECOND LETTERS are ignored
  86. # NOTE, HOWEVER, that the previous line CAN NOT leave the space out
  87. # or the interpreter will replace the "file" above with "THER".
  88. #
  89. # Now follow the real "R" gadget Items I use most.  They can be grouped
  90. # or interspersed with commands and comments and will be picked up properly.
  91. # The next line is blank on purpose - makes R-00 a blank item.
  92.  
  93. CheckMemo
  94. NewZap
  95. unarc -
  96. unarc
  97. diskx x
  98. SPref
  99. Preferences
  100. execute
  101. memopad
  102. mash
  103. mash -d
  104. execute Drive1
  105. zoo -a
  106. TimeSetter
  107. mount vd0:
  108. Calc
  109. dmouse -m20
  110. arc <CON:0/0/320/50/tempArcWindow x
  111. ReadKwik 1 dh1:Xfer
  112. RiteKwik dh1:Xfer 1
  113.  
  114. # EVERYTHING past the 20th history item is IGNORED, so put your commands
  115. # earlier in the file. After it reads the 20th item (if there is one),
  116. # it closes the file and quits cold.
  117. #
  118. # Du.hist will be looked for FIRST in current directory and then in S:. The
  119. # first one found will be used. If neither found, the program will initialize
  120. # all histories as empty ("").  REMEMBER, a file in the current directory
  121. # will take presidence over s:
  122.